<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="timo-detail-page">
    <div class="timo-detail-title">任务详情</div>
    <table class="layui-table timo-detail-table">
        <tbody>
        <tr>
            <th width='100px'>任务ID</th>
            <td th:text="${entity.id}"></td>
            <th width='100px'>所属应用</th>
            <td th:text="${entity.appId}"></td>
        </tr>
        <tr>
            <th width='100px'>任务名称</th>
            <td>[[${entity.jobName}]]</td>
            <th width='100px'>处理器名称</th>
            <td th:text="${entity.handlerName}"></td>
        </tr>
        <tr>
            <th width='100px'>触发器名称</th>
            <td>[[${entity.triggerClassName}]]</td>
            <th width='100px'>cron表达式</th>
            <td th:text="${entity.cronExpression}"></td>
        </tr>
        <tr>
            <th width='100px'>执行超时时间</th>
            <td>[[${entity.executeTimeout}]]</td>
            <th width='100px'>失败重试次数</th>
            <td th:text="${entity.failRetryTimes}"></td>
        </tr>
        <tr>
            <th width='100px'>执行模式</th>
            <td>[[${entity.executeModel}]]</td>
            <th width='100px'>路由策略</th>
            <td th:text="${entity.routeStrategy}"></td>
        </tr>
        <tr>
            <th width='100px'>阻塞策略</th>
            <td>[[${entity.blockStrategy}]]</td>
            <th width='100px'>任务状态</th>
            <td th:text="${entity.status}"></td>
        </tr>
        <tr>
            <th>创建用户</th>
            <td th:text="${entity.createBy}"></td>
            <th>更新用户</th>
            <td th:text="${entity.updateBy}"></td>
        </tr>
        <tr>
            <th>创建时间</th>
            <td th:text="${#dates.format(entity.createTime, 'yyyy-MM-dd HH:mm:ss')}"></td>
            <th>最后修改</th>
            <td th:text="${#dates.format(entity.updateTime, 'yyyy-MM-dd HH:mm:ss')}"></td>
        </tr>
        <tr>
            <th>描述</th>
            <td th:text="${entity.description}" colspan="4"></td>
        </tr>
        <tr>
            <th>执行参数</th>
            <td th:text="${entity.triggerParam}" colspan="4"></td>
        </tr>
        </tbody>
    </table>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>